//
//  Shop.m
//  EasyToo
//
//  Created by zhengzhe on 13-11-18.
//
//

#import "Shop.h"

@implementation Shop

- (id)initWithDictionary:(NSDictionary *)merchantDic
{
    self = [self init];
    if (self) {
        self.shopId = GetDictionaryStringDefaultNil(merchantDic, @"subbranchId");
        self.address = GetDictionaryStringDefaultNil(merchantDic, @"address");
        self.name = GetDictionaryStringDefaultNil(merchantDic, @"name");
    }
    return self;
}

@end
